#ifndef CONTIGDATAPACKET_H
#define CONTIGDATAPACKET_H

#include <QObject>
#include <QPointer>
#include <QList>

#include "genomeelementdatapacket.h"

class ContigDataPacket : public QObject
{
    Q_OBJECT
public:
    explicit ContigDataPacket(QString contigId, QObject *parent = 0);
    
    void addGenomeElement( QPointer<GenomeElementDataPacket> p );
    QString getContigId();

    int numOfGenomeElements();
    GenomeElementDataPacket* getGenomeElementDataPacket( int i );

signals:
    
public slots:

private:
    QString contigId;
    QList<GenomeElementDataPacket*> genomeElementDataPackets;
    int length;

};

#endif // CONTIGDATAPACKET_H
